package com.study.mirrorforest.main.model.tags.mapper;

import com.study.mirrorforest.main.model.tags.dto.TagsDTO;
import generator.domain.Tags;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 22530
* @description 针对表【tags】的数据库操作Mapper
* @createDate 2025-11-17 13:18:40
* @Entity generator.domain.Tags
*/
@Mapper
public interface TagsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TagsDTO record);

    int insertSelective(TagsDTO record);

    Tags selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tags record);

    int updateByPrimaryKey(Tags record);

    TagsDTO selectByName(String name);

    List<TagsDTO> selectAll();


}
